package com.baohua.model;

import com.baohua.util.ExcelVOAttribute;


/**
 * 库存表
 * 
 * @author Administrator
 * 
 */
public class Inventory {

	@ExcelVOAttribute(name="序号", order=1, isExport=false)
	private int inventoryID;
	/**
	 * 原材料编号
	 */
	@ExcelVOAttribute(name="原材料编码", order=2, mustInput=true, prompt="必须要输入哦, 3-20个字")
	private String inventoryNO;
	/**
	 * 原材料名称
	 */
	@ExcelVOAttribute(name="原材料名称", order=3, mustInput=true,  prompt="必须要输入哦, 3-20个字")
	private String inventoryName;
	/**
	 * 期初库存
	 */
	@ExcelVOAttribute(name="期初库存", order=4,prompt="必须要输入正数哦")
	private double previousMonthStockAmount;
	/**
	 * 最近入库
	 */
	@ExcelVOAttribute(name="最近入库", order=5,prompt="必须要输入正数哦")
	private double warehousingAmount;
	
	/**
	 * 最近出库
	 */
	@ExcelVOAttribute(name="最近出库", order=6,prompt="必须要输入正数哦")
	private double deliveryAmount; 
	/**
	 * 单位
	 */
	@ExcelVOAttribute(name="单位", order=7, mustInput=true)
	private String unit;
	
	/**
	 * 单位成本
	 */
	@ExcelVOAttribute(name="单位成本", order=8,prompt="必须要输入正数哦", mustInput=true)
	private double unitPrice;
	
	/**
	 * 总额
	 */
	@ExcelVOAttribute(name="总额", order=10,prompt="必须要输入正数哦")
	private double priceAmount;
	

	/**
	 * 库存总数
	 */
	@ExcelVOAttribute(name="当前库存", order=11,prompt="必须要输入正数哦")
	private double inventoryAmount;

	/**
	 * 物料分类
	 */
	@ExcelVOAttribute(name="物料分类", order=9, mustInput=true)
	private String materielCostCategory;

	public double getInventoryAmount() {
		return inventoryAmount;
	}

	public void setInventoryAmount(double inventoryAmount) {
		this.inventoryAmount = inventoryAmount;
	}


	public double getPreviousMonthStockAmount() {
		return previousMonthStockAmount;
	}

	public void setPreviousMonthStockAmount(double previousMonthStockAmount) {
		this.previousMonthStockAmount = previousMonthStockAmount;
	}

	public double getWarehousingAmount() {
		return warehousingAmount;
	}
	
	public String getMaterielCostCategory() {
		return materielCostCategory;
	}

	public void setMaterielCostCategory(String materielCostCategory) {
		this.materielCostCategory = materielCostCategory;
	}

	public void setWarehousingAmount(double warehousingAmount) {
		this.warehousingAmount = warehousingAmount;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public int getInventoryID() {
		return inventoryID;
	}

	public void setInventoryID(int inventoryID) {
		this.inventoryID = inventoryID;
	}

	public String getInventoryNO() {
		return inventoryNO;
	}

	public void setInventoryNO(String inventoryNO) {
		this.inventoryNO = inventoryNO;
	}

	public String getInventoryName() {
		return inventoryName;
	}

	public void setInventoryName(String inventoryName) {
		this.inventoryName = inventoryName;
	}

	public double getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(double unitPrice) {
		this.unitPrice = unitPrice;
	}

	public double getPriceAmount() {
		return priceAmount;
	}

	public void setPriceAmount(double priceAmount) {
		this.priceAmount = priceAmount;
	}

	public double getDeliveryAmount() {
		return deliveryAmount;
	}

	public void setDeliveryAmount(double deliveryAmount) {
		this.deliveryAmount = deliveryAmount;
	}
	
}
